package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.xml.XElement;

/**
 * Created by aaron on 2019/8/8.
 */
public class ReqB119BillRelePledSubmitDetail {
    /**
     * 票据号
     */
    public String billNo;
    /**
     * 票据类型
     */
    public String billType;
    /**
     * 票据金额
     */
    public String billAmt;
    /**
     * 币种
     */
    public String billCur;
    /**
     * 流水号
     */
    public String reqSeqID;
    /**
     * 业务流水号
     */
    public String busiNo;
    /**
     * 出质人账号
     */
    public String actNum;
    /**
     * 出质人名称
     */
    public String pledgeeName;
    /**
     * 出质人开户行号
     */
    public String pledgeeBnkCode;
    /**
     * 出质人开户行区域码
     */
    public String pledgeeBnkArea;
    /**
     * 大额支付行号
     */
    public String bigPayBnkCode;
    /**
     * 质权人名称
     */
    public String receName;
    /**
     * 质权人账号
     */
    public String receAct;
    /**
     * 质权人开户行名称
     */
    public String receBnkName;
    /**
     * 质权人开户行号
     */
    public String receBnkCode;
    /**
     * 出票人账号
     */
    public String billOpenAcc;
    /**
     * 出票人名称
     */
    public String billOpenName;
    /**
     * 备注
     */
    public String memo;

    //申请人组织机构代码
    public String applyCode;


    public ReqB119BillRelePledSubmitDetail(XElement p_element) throws Exception {

        billNo = p_element.getSingleText("BillNo");
        billType = p_element.getSingleText("BillType");
        billAmt = p_element.getSingleText("BillAmt");
        billCur = p_element.getSingleText("BillCur");
        reqSeqID = p_element.getSingleText("ReqSeqID");
        busiNo = p_element.getSingleText("BusiNo");
        actNum = p_element.getSingleText("ActNum");
        pledgeeName = p_element.getSingleText("PledgeeName");
        pledgeeBnkCode = p_element.getSingleText("PledgeeBnkCode");
        pledgeeBnkArea = p_element.getSingleText("PledgeeBnkArea");
        bigPayBnkCode = p_element.getSingleText("BigPayBnkCode");
        receName = p_element.getSingleText("ReceName");
        receAct = p_element.getSingleText("ReceAct");
        receBnkName = p_element.getSingleText("ReceBnkName");
        receBnkCode = p_element.getSingleText("ReceBnkCode");
        billOpenAcc = p_element.getSingleText("BillOpenAcc");
        billOpenName = p_element.getSingleText("BillOpenName");
        memo = p_element.getSingleText("Memo");
        applyCode = p_element.getSingleText("ApplyCode");
    }
}
